.class Lcom/instagram/h/b/m;
.super Landroid/os/Handler;
.source "SurveyToolHelper.java"


# instance fields
.field final synthetic a:Lcom/instagram/h/b/h;


# direct methods
.method private constructor <init>(Lcom/instagram/h/b/h;)V
    .locals 0
    .parameter

    .prologue
    .line 264
    iput-object p1, p0, Lcom/instagram/h/b/m;->a:Lcom/instagram/h/b/h;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/instagram/h/b/h;Lcom/instagram/h/b/i;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 264
    invoke-direct {p0, p1}, Lcom/instagram/h/b/m;-><init>(Lcom/instagram/h/b/h;)V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 2
    .parameter "msg"

    .prologue
    .line 268
    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    .line 287
    :cond_0
    :goto_0
    return-void

    .line 270
    :pswitch_0
    iget-object v0, p0, Lcom/instagram/h/b/m;->a:Lcom/instagram/h/b/h;

    invoke-static {v0}, Lcom/instagram/h/b/h;->f(Lcom/instagram/h/b/h;)Landroid/app/Dialog;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 271
    iget-object v0, p0, Lcom/instagram/h/b/m;->a:Lcom/instagram/h/b/h;

    invoke-static {v0}, Lcom/instagram/h/b/h;->f(Lcom/instagram/h/b/h;)Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->dismiss()V

    goto :goto_0

    .line 276
    :pswitch_1
    iget-object v0, p0, Lcom/instagram/h/b/m;->a:Lcom/instagram/h/b/h;

    invoke-static {v0}, Lcom/instagram/h/b/h;->c(Lcom/instagram/h/b/h;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->hasWindowFocus()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/instagram/h/b/m;->a:Lcom/instagram/h/b/h;

    invoke-static {v0}, Lcom/instagram/h/b/h;->g(Lcom/instagram/h/b/h;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 277
    iget-object v0, p0, Lcom/instagram/h/b/m;->a:Lcom/instagram/h/b/h;

    iget-object v1, p0, Lcom/instagram/h/b/m;->a:Lcom/instagram/h/b/h;

    invoke-static {v1}, Lcom/instagram/h/b/h;->h(Lcom/instagram/h/b/h;)Lcom/instagram/h/b/b;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/h/b/h;->a(Lcom/instagram/h/b/b;)V

    goto :goto_0

    .line 279
    :cond_1
    iget-object v0, p0, Lcom/instagram/h/b/m;->a:Lcom/instagram/h/b/h;

    invoke-static {v0}, Lcom/instagram/h/b/h;->i(Lcom/instagram/h/b/h;)V

    goto :goto_0

    .line 284
    :pswitch_2
    iget-object v0, p0, Lcom/instagram/h/b/m;->a:Lcom/instagram/h/b/h;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/instagram/h/b/h;->a(Lcom/instagram/h/b/h;Z)Z

    goto :goto_0

    .line 268
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method
